home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / mac / raytrace / dkb / mcprt102.bnh / DKBTrace-Mac / mac_mpw.r < prev    next >
Encoding:
Text File  |  1991-08-10  |  4.2 KB  |  191 lines

  1. #include "Types.r"
  2. #include "SysTypes.r"
  3. include "mac_mpw.rsrc";
  4.  
  5. resource 'vers' (1)
  6. {
  7.     0x02, 0x12, release, 0x00, verNetherlands,
  8.     "2.12",
  9.     "2.12, ⌐ 1990,1991 David Buck"
  10. };
  11.  
  12. resource 'vers' (2)
  13. {
  14.     0x01, 0x02, release, 0x00, verNetherlands,
  15.     "1.0.2",
  16.     "Macintosh Port 1.0.2"
  17. };
  18.  
  19. type 'dkbT' as 'STR ';
  20.  
  21. resource 'dkbT' (0)
  22. {
  23.     "DKBTrace"
  24. };
  25.  
  26. resource 'BNDL' (128)
  27. {
  28.     'dkbT', 0,
  29.     {
  30.         'ICN#', {0, 128; 1, 129};
  31.         'FREF', {0, 128; 1, 129}
  32.     }
  33. };
  34.  
  35. resource 'FREF' (128)
  36. {
  37.     'APPL', 0, ""
  38. };
  39.  
  40. resource 'FREF' (129)
  41. {
  42.     'Raw ', 1, ""
  43. };
  44.  
  45. resource 'MENU' (128, preload)
  46. {
  47.     1, textMenuProc,
  48.     0x7FFFFFFD,
  49.     enabled, apple,
  50.     {
  51.         "About DKBTrace╔",
  52.             noicon, nokey, nomark, plain;
  53.         "-",
  54.             noicon, nokey, nomark, plain
  55.     }
  56. };
  57.  
  58. resource 'MENU' (129, preload)
  59. {
  60.     2, textMenuProc,
  61.     0x7FFFFFFB,
  62.     enabled, "File",
  63.     {
  64.         "Trace╔",
  65.             noicon, "T", nomark, plain;
  66.         "Abort",
  67.             noicon, "A", nomark, plain;
  68.         "-",
  69.             noicon, nokey, nomark, plain;
  70.         "Quit",
  71.             noicon, "Q", nomark, plain
  72.     }
  73. };
  74.  
  75. resource 'MENU' (130, preload)
  76. {
  77.     3, textMenuProc,
  78.     0x7FFFFFFD,
  79.     enabled, "Edit",
  80.      {
  81.         "Undo",
  82.             noicon, "Z", nomark, plain;
  83.         "-",
  84.             noicon, nokey, nomark, plain;
  85.         "Cut",
  86.             noicon, "X", nomark, plain;
  87.         "Copy",
  88.             noicon, "C", nomark, plain;
  89.         "Paste",
  90.             noicon, "V", nomark, plain;
  91.         "Clear",
  92.             noicon, nokey, nomark, plain
  93.     }
  94. };
  95.  
  96. resource 'MENU' (131, preload)
  97. {
  98.     4, textMenuProc,
  99.     0x7FFFFFFF,
  100.     enabled, "Options",
  101.      {
  102.         "Dither",
  103.             noicon, nokey, nomark, plain
  104.     }
  105. };
  106.  
  107. resource 'DLOG' (128)
  108. {
  109.     {43, 46, 315, 465},
  110.     dBoxProc, visible, noGoAway, 0x0, 128, ""
  111. };
  112.  
  113. resource 'DITL' (128)
  114. {
  115.     {
  116.         /*  1 */    {215, 314, 235, 407},    Button {enabled, "OK"},
  117.         /*  2 */    {245, 314, 265, 407},    Button {enabled, "Cancel"},
  118.         /*  3 */    {8, 10, 28, 49},        Button {enabled, "Set"},
  119.         /*  4 */    {10, 134, 26, 414},        StaticText {disabled, ""},            /* filename */
  120.         /*  5 */    {70, 110, 86, 151},        EditText {disabled, ""},            /* width */
  121.         /*  6 */    {70, 220, 86, 261},        EditText {disabled, ""},            /* height */
  122.         /*  7 */    {70, 384, 86, 405},        EditText {disabled, ""},            /* quality */    
  123.         /*  8 */    {100, 110, 116, 151},    EditText {disabled, ""},            /* from */
  124.         /*  9 */    {100, 220, 116, 261},    EditText {disabled, ""},            /* to */
  125.         /* 10 */    {130, 10, 148, 185},    CheckBox {enabled, "Antialiasing, threshold:"},
  126.         /* 11 */    {130, 210, 146, 251},    EditText {disabled, ""},            /* threshold */
  127.         /* 12 */    {160, 10, 178, 191},    CheckBox {enabled, "Use output buffer, size:"},
  128.         /* 13 */    {160, 210, 176, 251},    EditText {disabled, ""},            /* bufsize */
  129.         /* 14 */    {40, 10, 58, 154},        CheckBox {enabled, "Create output file:"},
  130.         /* 15 */    {40, 170, 58, 258},        RadioButton {enabled, "Dump/QRT"},
  131.         /* 16 */    {40, 260, 58, 315},        RadioButton {enabled, "Raw"},
  132.         /* 17 */    {40, 320, 58, 380},        RadioButton {enabled, "Targa"},
  133.         /* 18 */    {100, 320, 118, 409},    CheckBox {enabled, "Resume"},
  134.         /* 19 */    {120, 320, 138, 409},    CheckBox {enabled, "Pause"},
  135.         /* 20 */    {140, 320, 158, 409},    CheckBox {enabled, "Verbose"},
  136.         /* 21 */    {160, 320, 178, 409},    CheckBox {enabled, "Debug"},
  137.         /* 22 */    {210, 14, 266, 298},    EditText {disabled, ""},            /* paths */
  138.         /* 23 */    {10, 54, 26, 129},        StaticText {disabled, "Input file:"},
  139.         /* 24 */    {70, 10, 86, 104},        StaticText {disabled, "Image width:"},
  140.         /* 25 */    {70, 160, 86, 213},        StaticText {disabled, "height:"},
  141.         /* 26 */    {100, 10, 116, 104},    StaticText {disabled, "Trace from:"},
  142.         /* 27 */    {100, 160, 116, 213},    StaticText {disabled, "to:"},
  143.         /* 28 */    {70, 280, 86, 379},        StaticText {disabled, "Quality (0╔9):"},
  144.         /* 29 */    {190, 10, 206, 158},    StaticText {disabled, "Library search paths:"}
  145.     }
  146. };
  147.  
  148. resource 'ALRT' (129, purgeable)
  149. {
  150.     {60, 45, 157, 466},
  151.     129,
  152.     {
  153.         OK, visible, sound1,
  154.         OK, visible, sound1,
  155.         OK, visible, sound1,
  156.         OK, visible, sound1
  157.     }
  158. };
  159.  
  160. resource 'DITL' (129, purgeable)
  161. {
  162.     {
  163.         { 67, 350,  87, 410},    Button {enabled, "OK"},
  164.         {  7,  60,  87, 340},    StaticText {disabled, "Sorry, DKBTrace requires an 68020, "
  165.                                             "68881, and System │ 6.0.5 with 32-Bit QuickDraw "
  166.                                             "to run."}
  167.     }
  168. };
  169.  
  170. resource 'SIZE' (-1)
  171. {
  172.     dontSaveScreen,
  173.     acceptSuspendResumeEvents,
  174.     enableOptionSwitch,
  175.     canBackground,
  176.     multiFinderAware,
  177.     backgroundAndForeground,
  178.     dontGetFrontClicks,
  179.     ignoreChildDiedEvents,
  180.     is32BitCompatible,
  181.     reserved,
  182.     reserved,
  183.     reserved,
  184.     reserved,
  185.     reserved,
  186.     reserved,
  187.     reserved,
  188.     2097152,
  189.     1048576
  190. };
  191.